package com.zkt.subject.application.config;

import com.zkt.subject.application.interceptor.FeignRequestInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2025/3/23
 * @description Feign的配置类
 **/

@Configuration
public class FeignConfig {
	
	@Bean
	public RequestInterceptor requestInterceptor() {
		return new FeignRequestInterceptor();
	}
	
}